package com.lsyw.intergrate.serviceImpl;

import com.lsyw.intergrate.entity.Device;
import com.lsyw.intergrate.mapper.DeviceMapper;
import com.lsyw.intergrate.service.DeviceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 设备信息表 服务实现类
 * </p>
 *
 * @author 刘磊
 * @since 2023-11-29
 */
@Service
public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, Device> implements DeviceService {

    @Override
    public Device getByCode(String code) {
        return baseMapper.getByCode(code);
    }
}
